<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div id="left">
<a href="index.htm"><img src="images/logo.gif" alt="Intro type 3" width="247" height="97" border="0" class="logo" /></a>
<ul>
<li><a href="addNews.do?action=addnews" class="potencial"></a></li><!-- 发布新闻 -->
<li><a href="showGroupList.do" class="ideal"></a></li><!-- 社团 -->
<li class="noBdr"><a href="showActivityList.do" class="innovative"></a></li><!-- 参加活动-->
</ul>


<div>
<form name="newsletter" action="login.do" method="post">
	<c:if test="${member == null}">
		<h2>用户登录</h2>
		<p>用户名：</p><input type="text" name="username" value="" class="inputs"/><br /><br />
		<p>密&nbsp;&nbsp;&nbsp;码：</p><input type="text" name="password" value=""  class="inputs"/>
		<input type="button" name="signup" value="注册" onclick="window.location.href('register.jsp')" class="signup"/>
		<input type="submit" name="login" value="登录" class="login"/>
	</c:if>
	
	<c:if test="${member != null }">
		<h2>已登录会员</h2>
		<p>用户名：${member.name }</p><br />
		<p></p>		
	</c:if>
	
	<p>${error }</p>
</form>
</div>


<h2 class="faq"><span><b>F.A.Q</b></span></h2>
<p class="lftTxt"><span class="green">大学生交友网</span>
分享时尚与释放压力的交流交友平台!找到久违的老朋友，了解你周围朋友的最新动态，用照片，迷你博客记录你的生活，和朋友们一起分享</p>
<img src="images/call_us_bg.gif" alt="call us" width="208" height="45" class="callUs" />
<ul class="botLink">
<li class="bot"><a href="http://jigsaw.w3.org/css-validator/check/referer" class="css"></a></li>
<li class="bot"><a href="http://validator.w3.org/check?uri=referer" class="xhtml"></a></li> 
</ul>
<br class="spacer" />
</div>